#include "PollServer.h"

// ./Tcpserver port
int main(int argc,char* argv[])
{
    if(argc != 2)
    {
        std::cout << argv[0] << " port" << std::endl;
        exit(0);
    }
    uint16_t port = std::stoi(argv[1]);
    PollServer p(port);
    p.InitServer();
    p.Loop();
    return 0;
}